package com.agent.membership.exception;

import com.agent.common.exception.BusinessException;
import com.agent.common.result.ResultCode;

/**
 * 积分异常类
 * @author Jeff_Wan
 * @description 积分相关业务异常
 */
public class CreditException extends BusinessException {
    public CreditException(ResultCode resultCode) {
        super(resultCode);
    }

    public CreditException(ResultCode resultCode, String message) {
        super(resultCode, message);
    }

    public CreditException(String message) {
        super(ResultCode.CREDIT_CALCULATION_ERROR, message);
    }
}